home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
dev
/
lang
/
SmallEiffel.lha
/
SmallEiffel
/
misc
/
benchmarks
/
gc
/
MFSO
/
bench.e
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1998-12-22
|
397 b
|
28 lines
class BENCH
creation
make
feature
make is
local
apple: APPLE
apple_array: ARRAY[APPLE]
i, limit: INTEGER
do
-- limit := 20_000_000 -- large config
limit := 2_000_000 -- small config
!!apple_array.make(1, limit)
from
i := 1
until
i > limit
loop
!!apple.make(i)
apple_array.put(apple, i)
i := i + 1
end
end
end